@enable: #0db3a6;
@pause: #ffbf00;
@debuggerTitle: {
  height: 30px;
  font-weight: 500;
  font-size: 16px;
};
@debuggerBody: {
  position: absolute;
  top: 30px;
  right: 0;
  bottom: 0;
  left: 0;
  background: #fff;
};
.mainBox {
  width: 780px;
  margin: 20px auto;
  background-color: #fff;
  .header {
    position: relative;
    padding: 15px 20px;
    &::after {
      position: absolute;
      right: 20px;
      bottom: 0;
      left: 20px;
      height: 1px;
      background: #e0e0e0;
      content: '';
    }
  }
  .paneMain {
    padding: 0 20px;
    overflow-x: hidden;
    overflow-y: auto;
    .listItem {
      position: relative;
      padding: 15px 0;
      border-bottom: 1px solid #e0e0e0;
      .paneWatermark {
        position: absolute;
        top: 70%;
        right: 10px;
        width: 46px;
        height: 46px;
        border: 2px solid;
        border-radius: 50%;
        transform: translate(0, -50%);
        &::before {
          position: absolute;
          top: 3px;
          right: 3px;
          bottom: 3px;
          left: 3px;
          border: 1px solid;
          border-radius: 50%;
          content: '';
        }
        .text {
          position: absolute;
          top: 12px;
          right: 2px;
          left: 2px;
          z-index: 2;
          font-size: 12px;
          text-align: center;
          background: #fff;
          transform: rotate(-35deg);
        }
      }
      .enable {
        border-color: @enable;
        .text {
          color: @enable;
        }
        &::before {
          border-color: @enable;
        }
      }
      .pause {
        border-color: @pause;
        .text {
          color: @pause;
        }
        &::before {
          border-color: @pause;
        }
      }
      .itemTitleLine {
        padding: 10px 0;
        overflow: hidden;
        line-height: 20px;
        .title {
          position: relative;
          left: 0;
          float: left;
          max-width: 400px;
          overflow: hidden;
          color: rgba(0, 0, 0, 0.65);
          font-size: 14px;
          white-space: nowrap;
          text-overflow: ellipsis;
        }
        .titleBtn {
          position: relative;
          right: 0;
          float: right;
          padding: 0 15px;
          font-size: 12px;
          border-left: 1px solid #e0e0e0;
          cursor: pointer;
          transition: color 218ms;
          .icon {
            margin-right: 5px;
          }
        }
        .delete {
          color: red;
        }
        .normal {
          color: #4aa5fe;
        }
      }
      .itemDescriptionLine {
        display: -webkit-box;
        margin-bottom: 10px;
        overflow: hidden;
        color: #595959;
        font-size: 12px;
        line-height: 22px;
        text-overflow: ellipsis;
        word-break: break-all;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
      }
      .pineLine {
        padding-right: 60px;
        color: #848484;
        font-size: 12px;
        line-height: 22px;
      }
    }
  }
}
// .none {
//   display: none !important;
// }
.marginBottom {
  margin-bottom: 5px !important;
}

.add {
  color: #4aa5fe;
}
.delete {
  color: #4aa5fe;
  &:hover {
    color: red;
  }
}
.space {
  display: flex;
  margin-top: 8px;
  .insertWord {
    position: absolute;
    top: 0px;
    left: 289px;
    box-sizing: border-box;
    width: 80px;
    line-height: 30px;
    text-align: center;
    background: #f4f4f4;
    border: 1px solid #d9d9d9;
    border-left: none;
    cursor: pointer;
  }
  .delete {
    margin-left: 80px;
    color: #4aa5fe;
    &:hover {
      color: red;
    }
  }
}

.insert {
  position: absolute;
  top: 0;
  right: 0;
  color: #4aa5fe;
  cursor: pointer;
}

.menu {
  max-height: 140px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  color: #1f2d3d;
  cursor: pointer;
  .menuItem {
    margin: 0;
    padding: 0 2px;
    line-height: 36px;
    &:hover {
      color: #fff;
      background: #4aa5fe;
    }
  }
  .menuDisable {
    margin: 0;
    padding: 0 2px;
    color: #c3cdda;
    line-height: 36px;
  }
}
.resWrapper {
  height: 335px;
  overflow-y: auto;
  .resBox {
    position: relative;
    .insert {
      position: absolute;
      top: 0;
      right: 20px;
      padding: 0 10px;
      color: #4aa5fe;
      border-right: 1px solid #e0e0e0;
    }
    .delete {
      position: absolute;
      top: 3px;
      right: 0;
      color: red;
    }
  }
  span {
    display: block;
    margin-bottom: 20px;
    color: #91a1b7;
  }
  .resBtn {
    display: inline-block;
    color: #4aa5fe;
    cursor: pointer;
  }
}

.debuggerWrapper {
  display: flex;
  min-width: 1200px;
  max-width: 1600px;
  height: 100%;
  margin: 0 auto;
  padding: 20px 40px;
  .debuggerForm {
    position: relative;
    flex: 1 1 60%;
    .debuggerTitle {
      @debuggerTitle();
    }
    .debuggerBody {
      @debuggerBody();
      .widgetsWrapper {
        padding: 30px;
      }
      .footer {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 60px;
        background: #fff;
        border-top: solid 1px #e9e9e9;
      }
    }
  }
  .debuggerInfo {
    position: relative;
    flex: 1 1 40%;
    margin-left: 20px;
    .debuggerTitle {
      @debuggerTitle();
    }
    .debuggerBody {
      @debuggerBody();
      .contentBlock {
        position: relative;
        height: 50%;
        .subTitle {
          height: 45px;
          padding: 0 15px;
          line-height: 45px;
          .tip {
            color: #91a1b7;
            font-size: 12px;
          }
        }
        .requestContent {
          position: absolute;
          top: 45px;
          right: 15px;
          bottom: 15px;
          left: 15px;
          padding: 0 15px 15px;
          overflow: auto;
          font-size: 12px;
          background: #f4f6f9;
          .label {
            margin: 15px 0 5px;
            color: #1f2d3d;
            font-weight: 500;
          }
          .value {
            color: #5e6d82;
            word-wrap: break-word;
            word-break: break-all;
          }
          .headerValue,
          .bodyValue {
            color: #5e6d82;
            .line {
              margin-bottom: 5px;
              word-wrap: break-word;
              word-break: break-all;
            }
          }
        }
        .responseContent {
          position: absolute;
          top: 45px;
          right: 15px;
          bottom: 15px;
          left: 15px;
          overflow: auto;
          background: #f4f6f9;
          .errorTip {
            padding: 15px;
            color: #e64340;
            font-size: 12px;
          }
        }
      }
    }
  }
}
